-- GENERATED SPELL FOR [Burning Depths Necromancer] --


function spell0_27358(pUnit, Event) --@Power Release,n/a--
pUnit:FullCastSpellOnTarget(51431,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27358', 5000, 1)
end

function Sorts_27358(pUnit, Event)
local choix_sorts_27358 = math.random(0, 0)
if choix_sorts_27358 == 0 then
pUnit:RegisterEvent('spell0_27358', 1, 1)
end
end

function mob27358_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27358', math.random(1500, 3000), 1)
end

function mob27358_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27358_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27358_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27358, 1, 'mob27358_Action')
RegisterUnitEvent(27358, 2, 'mob27358_Leave')
RegisterUnitEvent(27358, 3, 'mob27358_Kill')
RegisterUnitEvent(27358, 4, 'mob27358_Die')
